﻿#ifndef COMMONREQ_H
#define COMMONREQ_H

#include "BaseMsg.h"

#define MSG_TYPE_COMMON_REQ "CommonReq"

typedef enum
{
    CommonReqTag_type = 1,

} CommonReqTag;

typedef enum
{
    CommonReq_type_getapprunningstate = 0,
    CommonReq_type_getsystemrunningstate = 1

}CommonReq_type;


class CommonReq : public BaseMsg
{
public:
    CommonReq();

    virtual ~CommonReq();

    int type;



    virtual int decodeParametersFromTlv(TLV* tlv);


    virtual int encodeParametersIntoTlvs(list<TLV *> & tlvs);
};

#endif // COMMONREQ_H
